<!DOCTYPE html>
<!-- ng-app -->
<html lang="en" ng-app="app">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script src="../../../js/plugins/angular/angular.min.js" type="text/javascript"></script>
</head>
<body>
    <script type="text/ng-template" id="tplbase">
        姓名：{{name}}
        邮箱：{{email}}
    </script>
    <div ng-include="" src="'tplbase'" ng-controller="cont"></div>


    <script>
        var app = angular.module('app',[]);
        app.controller('cont',['$scope',function ($scope) {
            $scope.name = 'oli';
            $scope.email = 'oli.com';
        }]);


    </script>
</body>
</html>